/**
  ************************************* Copyright ******************************
  * FileName   : lfs_port.h
  * Version    : v1.0
  * Author     : yychao
  * Date       : 2023-03-31
  * Description:
  * Function List:
  	1. ....
  	   <version>:
  <modify staff>:
  		  <data>:
   <description>:
  	2. ...
  ******************************************************************************
 */

#ifndef __LFS_PORT_H_
#define __LFS_PORT_H_


#include "main.h"


typedef enum {
    Lfs_None = 0,
    Lfs_Read,
    Lfs_Write,
} lfs_op;


/*
const char* file_ls[]={
	"curve",



};

*/
#define Len_curve	(40)
extern uint16_t curve[Len_curve];
#define Len_bake_ctrl	(10)
extern uint16_t bake_ctrl[Len_bake_ctrl];
void lfs_program(void);
HAL_StatusTypeDef lfs_user(const char *path, uint16_t *data, uint16_t len, lfs_op op);
#endif


